<% content_for :title do %>
	Add a new user
<% end %>

<% if @user.errors.any? %>
   <div id="error_explanation">
   <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
    <ul>
      <% @user.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

<form action="/users" method='post'>
	<input name="authenticity_token" value="<%= form_authenticity_token %>" type="hidden">
	First Name: <input type="text" name="first_name" placeholder="First name" />
	Last Name: <input type="text" name="last_name" placeholder="Last name" />
	Email: <input type="text" name="email_address" placeholder="Email address" />
	Password: <input type="password" name="password" placeholder="Password" /> 
	Confirm Password: <input type="password" name="password_confirmation" placeholder="Password confirmation" />
	<input type="submit" value="Submit" />
</form>